

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1"><title>

</title><link href='../../home/css/etm.css' rel='stylesheet' type='text/css' /><!--[if IE 8]> <link href='/Themes/Theme3/ie8Fix.css' rel='stylesheet' /> <![endif]-->

    <script src="../../home/js/jquery-1.4.2.min.js"></script>
    <script src="../../home/js/jQuery.Ex.js"></script>
     <script type='text/javascript'> $(function () { $('.list td').bind({ mouseenter: function (e) { e.stopPropagation(); } }); }); </script>
    <script type="text/javascript">
        function signEnter() {
            var e = event.srcElement;
            if (e == document.getElementById("tbCardNo") && event.keyCode == 13) {
                document.getElementById("btnOk").focus();
            }
        }
        function init() {
            var ctrl = document.getElementById("txtCardNo");
            ctrl.focus();
            this.form1.txtCardNo.select();
        }
        function check() {
            window.parent.parent.showsending(true, "刷卡签到执行中，请耐心等待...");
            return true;
        }

        function MsgContentLength() {
            if (document.getElementById("tbMsgContent") != null || document.getElementById("lbMsgLength") != null)
                document.getElementById("lbMsgLength").innerHTML = document.getElementById("tbMsgContent").value.length;
        }
        window.parent.showsending(false, "");
    </script>
</head>
<body onload="init()">
    <form method="post" action="CardSign.aspx?navId=65893f1e-33cb-4fcf-a7dc-9de55195a990" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTMwOTQ5NjUzNQ9kFgICAw9kFgQCGQ8PFgIeBFRleHQFAjE5ZGQCHQ8PFgIfAAU75Y+v55So5Y+C5pWw77yaW+WtpuWRmOWnk+WQjV0gW+WtpuWRmOaYteensF0gW+iAg+WLpOaXtumXtF1kZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAQUFY2JNc2c1XX6GGkvKrzlO8ueRALdRBLYSHTmuxn0pGfyrLxI+8g==" />
</div>

<div class="aspNetHidden">

	<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="BE5D53DC" />
	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEdAAjXg7Erqwtanrx2zciJPPql5OUu0LPCoZYiiL5gmnf1pXDiTb8KmNPfCzC5gRuajB3MeF0zwquB5+qwXqC2zWqLOJ1zMyZFECbeb5IKBklNP8qNoh3IN5ULcxVivw80Pe2NabndygXFPADG31uLwqYEqd8ifZe7L2O9HANrbHMO75dwrRSC0U86xRVf2UGGIA7EhGYCCVNxkQroDV7f1AUQ" />
</div>
         <script src="../../Scripts/jQuery.etmRightLinks.js"></script><script src="../../Scripts/jQuery.etmTabs.js"></script><script type="text/javascript">$(function () {$("#rightLinks").etmTabs({item: [{ Text: "自助考勤", Url: "../../Modules/Teach/CardSign.aspx?navId=65893f1e-33cb-4fcf-a7dc-9de55195a990&pageid=9f8649c5-034f-4e73-a984-018bbd2d2410", Selected: true },{ Text: "人工考勤", Url: "../../Modules/Teach/Attendance.aspx?navId=65893f1e-33cb-4fcf-a7dc-9de55195a990&pageid=74ecabf1-3806-4805-be6e-e16c164a797a" },{ Text: "月度考勤", Url: "../../Modules/Teach/AttendanceBatch.aspx?navId=65893f1e-33cb-4fcf-a7dc-9de55195a990&pageid=3b78f1ba-1ed2-4986-93f3-9ac1233440fa" }]});});</script><div id='rightLinks' style='position: absolute; top: 2px; right: 10px;'></div>
        <table width="100%" class="search" style="margin: 0; padding: 0; margin-top: -10px;">
            <tr>

                <td style="width: 520px; background-color: #fff; text-align: center;" class='borderBottom borderRight'>
                    <div style="width: 100%; text-align: center; margin-top: 20px; margin-bottom: 20px;">
                        <img width="150px" height="82px" src="../../home/images/shuaka1.gif" />
                    </div>
                    <input name="txtCardNo" type="text" id="txtCardNo" class="int" autocomplete="off" onkeyDown="signEnter();" name="tbCardNo" style="width: 390px; text-align: center; font-size: 42px; font-weight: bold; margin-bottom: 3px;" />
                    <br />
                    <span class="words">注：支持幼儿卡号签到</span>
                    <div style="text-align: center;">
                        <input type="submit" name="btnOk" value="签 到" onclick="return check();" id="btnOk" class="button" style="height: 37px; width: 117px; margin-bottom: 10px;" />
                    </div>

                    <div>
                        <span id="lbCardMsg" style="color:Red;"></span>
                    </div>
                </td>

                <td class=" memberinfotr borderBottom" valign="top">
                    <table width="100%" border="0" cellpadding="3" cellspacing="0" class="detail noListHover noevenstyle" style="border-bottom-width: 0px;">
                        <tr class="list_td ">
                            <td class="textAlignRight ex" style="width: 80px; text-align: center">幼儿姓名：</td>
                            <td class="borderRight" style="width: 100px;">
                                <span id="lbRealName"></span></td>
                            <td class="textAlignRight ex" style="width: 80px; text-align: center">幼儿昵称：</td>
                            <td class="borderRight" style="width: 100px;">
                                <span id="lbNickname"></span></td>
                            <td class="textAlignRight" style="width: 80px;">考勤类型：</td>
                            <td>
                                <span id="rdlType"><input id="rdlType_0" type="radio" name="rdlType" value="0" checked="checked" /><label for="rdlType_0">入园</label><input id="rdlType_1" type="radio" name="rdlType" value="1" /><label for="rdlType_1">出园</label></span>
                            </td>

                        </tr>

                        <tr class="list_td ">
                            <td class="textAlignRight" style="width: 50px; text-align: center">家长姓名：</td>
                            <td class="borderRight">
                                <span id="lbGuadian"></span></td>
                            <td class="textAlignRight" style="width: 50px; text-align: center">手机号码：</td>
                            <td class="borderRight">
                                <span id="lbMobile"></span></td>

                            <td class="textAlignRight" style="width: 50px;">班级名称：</td>
                            <td class="borderRight">
                                <span id="lbClassName"></span></td>
                        </tr>
                        <tr class="list_td">
                       
                            <td colspan="6" style="padding-left:10px;text-align:left;">
                                <input id="cbMsg" type="checkbox" name="cbMsg" checked="checked" /><label for="cbMsg">发送短信</label>

                            </td>
                        </tr>
                        <tr>
                            <td class="textAlignRight" style="width: 50px; text-align: center">短信内容</td>
                            <td class="borderRight" colspan="5">
                                <textarea name="tbMsgContent" rows="2" cols="20" id="tbMsgContent" onkeyup="MsgContentLength()" style="width: 82%; height: 100px;">
[学员姓名]，[考勤时间] 考勤签到。</textarea>
                                <span id="lbMsgLength" class="words" style="margin-left: 10px;">19</span>
                                /
                                <span id="lbMsgWordLimit">67</span>
                                <div class="words" id="sendMsgWarning">
                                    <span id="lbMsgParamInfo">可用参数：[学员姓名] [学员昵称] [考勤时间]</span>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="words" id="td_mes" colspan="6" style="font-size: 16px; font-weight: bold; height: 55px;">
                                <span id="lbSignResult"></span>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <script type="text/javascript">
            function SelectChecked(form) {
                for (var i = 0; i < form.elements.length; i++) {
                    var e = form.elements[i];
                    if (e.name != 'selAll' && e.name == 'selVal' && e.type == 'checkbox')
                        e.checked = form.selAll.checked;
                }
            }
            function checkData() {
                var member = "";
                $("input[name='selVal']").each(function () {
                    if ($(this).is(":checked")) {
                        member += $(this).val() + ",";
                    }
                });
                if (member == "") {
                    alert("请勾选幼儿"); return false;
                }
                else {
                    member = member.substring(0, member.length - 1);
                    $("#hfMemberData").val(member);
                    window.parent.parent.showsending(true, "刷卡签到执行中，请耐心等待...");
                    return true;
                }

            }
        </script>
    </form>
</body>
</html>
